package com.qf.mapper;

import java.util.List;
import com.qf.domain.SysAttendance;
import org.apache.ibatis.annotations.Mapper;

/**
 * 考勤Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-01
 */

@Mapper
public interface SysAttendanceMapper 
{
    /**
     * 查询考勤
     * 
     * @param id 考勤主键
     * @return 考勤
     */
    public SysAttendance selectSysAttendanceById(Long id);

    /**
     * 查询考勤列表
     * 
     * @param sysAttendance 考勤
     * @return 考勤集合
     */
    public List<SysAttendance> selectSysAttendanceList(SysAttendance sysAttendance);

    /**
     * 新增考勤
     * 
     * @param sysAttendance 考勤
     * @return 结果
     */
    public int insertSysAttendance(SysAttendance sysAttendance);

    /**
     * 修改考勤
     * 
     * @param sysAttendance 考勤
     * @return 结果
     */
    public int updateSysAttendance(SysAttendance sysAttendance);

    /**
     * 删除考勤
     * 
     * @param id 考勤主键
     * @return 结果
     */
    public int deleteSysAttendanceById(Long id);

    /**
     * 批量删除考勤
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysAttendanceByIds(Long[] ids);

    Integer countChecked();
}
